import {BasicManager} from "./BasicManager";

class ModuleCollection extends BasicManager{

    constructor() {
        super();
        this._bundleConfig = {};
    }

    get ModuleConfig() {
        return this._bundleConfig;
    }

    set ModuleConfig(config) {
        this._bundleConfig = config;
    }
}

export const ModuleManager = (function () {
    let instance;
    return {
        name: "ModuleCollection",
        getInstance: function () {
            if (instance === undefined) {
                instance = new ModuleCollection();
            }
            return instance
        }
    }
})();